package com.shycloud.mido.organ.api.dto;

import lombok.Data;

@Data
public class ActivePageDTO {

	private Integer id;

	private String orgName;

	private String udid;

	private String code;

	private Integer duration;

	private String name;

	private String type;

	/** 首次激活时间 */
	private String startDate;

	private String endDate;

	private Integer leftDays;

	private String status = "0";

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		if ("1".equals(this.status)) {
			this.startDate = startDate;
		} else {
			this.startDate = "";
		}
	}
}